package com.sccba.emtbusiness.domain;

import com.sccba.common.annotation.Excel;
import com.sccba.common.core.domain.BaseEntity;
import com.sccba.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 发版值班人员对象 yjcz_fb_duty
 * 
 * @author lichh
 * @date 2024-05-19
 */
public class YjczFbDuty extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long pkId;

    /** 对应发版表主键（yjcz_fb_info） */
    @Excel(name = "对应发版表主键", readConverterExp = "y=jcz_fb_info")
    private Long fbId;

    /** 对应发版值班人员主键（yjcz_duty_person） */
    @Excel(name = "对应发版值班人员主键", readConverterExp = "y=jcz_duty_person")
    private Long dutyPersonId;

    /** 值班研发人员（关联sys_user） */
    @Excel(name = "值班研发人员", readConverterExp = "关=联sys_user")
    private Long devUserId;

    private SysUser devUser;

    /** 值班测试人员（关联sys_user） */
    @Excel(name = "值班测试人员", readConverterExp = "关=联sys_user")
    private Long testUserId;

    private SysUser testUser;

    private Integer devDutyType;

    private Integer testDutyType;

    public void setPkId(Long pkId) 
    {
        this.pkId = pkId;
    }

    public Long getPkId() 
    {
        return pkId;
    }
    public void setFbId(Long fbId) 
    {
        this.fbId = fbId;
    }

    public Long getFbId() 
    {
        return fbId;
    }
    public void setDutyPersonId(Long dutyPersonId) 
    {
        this.dutyPersonId = dutyPersonId;
    }

    public Long getDutyPersonId() 
    {
        return dutyPersonId;
    }
    public void setDevUserId(Long devUserId) 
    {
        this.devUserId = devUserId;
    }

    public Long getDevUserId() 
    {
        return devUserId;
    }
    public void setTestUserId(Long testUserId) 
    {
        this.testUserId = testUserId;
    }

    public Long getTestUserId() 
    {
        return testUserId;
    }

    public SysUser getDevUser() {
        return devUser;
    }

    public void setDevUser(SysUser devUser) {
        this.devUser = devUser;
    }

    public SysUser getTestUser() {
        return testUser;
    }

    public void setTestUser(SysUser testUser) {
        this.testUser = testUser;
    }

    public Integer getDevDutyType() {
        return devDutyType;
    }

    public void setDevDutyType(Integer devDutyType) {
        this.devDutyType = devDutyType;
    }

    public Integer getTestDutyType() {
        return testDutyType;
    }

    public void setTestDutyType(Integer testDutyType) {
        this.testDutyType = testDutyType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pkId", getPkId())
            .append("fbId", getFbId())
            .append("dutyPersonId", getDutyPersonId())
            .append("devUserId", getDevUserId())
            .append("testUserId", getTestUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
